﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeviceMonitor.ViewModel
{
    public class ItemViewModel : BaseViewModel
    {
        public string _Code;
        public string Code
        {
            get { return _Code; }
            set
            {
                if (_Code != value)
                {
                    _Code = value;
                    RaisePropertyChanged("Code");
                }
            }
        }

        public string _Product;
        public string Product
        {
            get { return _Product; }
            set
            {
                if (_Product != value)
                {
                    _Product = value;
                    RaisePropertyChanged("Product");
                }
            }
        }

        public string _CarNo;
        public string CarNo
        {
            get { return _CarNo; }
            set
            {
                if (_CarNo != value)
                {
                    _CarNo = value;
                    RaisePropertyChanged("CarNo");
                }
            }
        }

        public string _ShouldNum;
        public string ShouldNum
        {
            get { return _ShouldNum; }
            set
            {
                if (_ShouldNum != value)
                {
                    _ShouldNum = value;
                    RaisePropertyChanged("ShouldNum");
                }
            }
        }

        public string _ActNum;
        public string ActNum
        {
            get { return _ActNum; }
            set
            {
                if (_ActNum != value)
                {
                    _ActNum = value;
                    RaisePropertyChanged("ActNum");
                }
            }
        }
    
        public string _Flow;
        public string Flow
        {
            get { return _Flow; }
            set
            {
                if (_Flow != value)
                {
                    _Flow = value;
                    RaisePropertyChanged("Flow");
                }
            }
        }
        
        public string _Temperature;
        public string Temperature
        {
            get { return _Temperature; }
            set
            {
                if (_Temperature != value)
                {
                    _Temperature = value;
                    RaisePropertyChanged("Temperature");
                }
            }
        }

        public string _Density;
        public string Density
        {
            get { return _Density; }
            set
            {
                if (_Density != value)
                {
                    _Density = value;
                    RaisePropertyChanged("Density");
                }
            }
        }

        public string _Status;
        public string Status
        {
            get { return _Status; }
            set
            {
                if (_Status != value)
                {
                    _Status = value;
                    RaisePropertyChanged("Status");
                }
            }
        }

        public string _Time;
        public string Time
        {
            get { return _Time; }
            set
            {
                if (_Time != value)
                {
                    _Time = value;
                    RaisePropertyChanged("Time");
                }
            }
        }

        public string _Alerm;
        public string Alerm
        {
            get { return _Alerm; }
            set
            {
                if (_Alerm != value)
                {
                    _Alerm = value;
                    RaisePropertyChanged("Alerm");
                }
            }
        }
    }
}
